import request from '@/utils/request'

// 查询库存预警列表
export function listDetails(query) {
  return request({
    url: '/ledger/details/list',
    method: 'get',
    params: query
  })
}

// 查询库存预警详细
export function getDetails(inventoryQueryId) {
  return request({
    url: '/ledger/details/' + inventoryQueryId,
    method: 'get'
  })
}


// 查询预警信息
export function selectInventoryDetails() {
  return request({
    url: '/ledger/details/inventory/',
    method: 'get'
  })
}